[GET] siteDetails
/api/site/siteDetails
SiteDetailsRequestDTO
Attributes:
Name | Type | Description |
---|---|---|
site_id |
int
|
unique id of the site |
SiteDetailsResponseDTO
Attributes:
Name | Type | Description |
---|---|---|
site_id |
int
|
unique id assigned to a site |
site_name |
str
|
name of the site |
site_address |
Optional[str]
|
address of the site |
site_img |
Optional[str]
|
link of the site image |
is_private |
bool
|
boolean indicating if the site is classified as private |
allowed_reservation |
bool
|
boolean indicating if the site allows charging reservations |
chargers |
List[ChargerDTO]
|
list of chargers |
location |
Optional[str]
|
location of the charger |
latitude |
Optional[float]
|
latitudinal coordinates of the site |
longitude |
Optional[float]
|
longitudinal coordinates of the site |
ChargerDTO
Attributes:
Name | Type | Description |
---|---|---|
id |
str
|
unique id assigned to a charger |
name |
Optional[str]
|
name of the charger |
brand |
Optional[str]
|
brand of the charger |
model |
Optional[str]
|
model of the charger |
connectors |
List[ConnectorDTO]
|
list of connectors |
type |
ChargerTypeEnum
|
type of the charger |
ConnectorDTO
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
|
type |
Optional[ConnectorTypeEnum]
|
|
status |
Optional[ConnectorStatusEnum]
|
|
max_charging |
Optional[float]
|
|
rate |
Optional[float]
|
|
ConnectorTypeEnum
Attributes:
Name | Type | Description |
---|---|---|
TYPE_2 |
Type 2 connector |
|
CHADEMO |
CHAdeMO connector |
|
CCS2 |
CCS2 connector |
ConnectorStatusEnum
Attributes:
Name | Type | Description |
---|---|---|
Available |
The connector is available for charging |
|
Preparing |
The connector is plugged in and preparing for charging |
|
Soft |
Reserved
|
|
Reserved |
Reserved
|
The connector is reserved for a user |
Charging |
Reserved
|
The connector is currently charging |
Offline |
Reserved
|
The connector is offline |
SuspendedEVSE |
Reserved
|
|
SuspendedEV |
Reserved
|
|
Finishing |
Reserved
|
The connector has finished charging. EV is not drawing power |
Unavailable |
Reserved
|
|
Faulted |
Reserved
|
A fault during the charging session was detected |
ChargerTypeEnum
Attributes:
Name | Type | Description |
---|---|---|
AC |
Alternating Current |
|
DC |
Direct Current |
|
AC/DC |
Alternating and Direct Current |